class UserInfo {
  String nickname;
  String avatarUrl;
  String email;
  List<String> vehicleVins;
  bool isMember;
  int memberLevel;

  // 带参数的构造函数
  UserInfo({
    required this.nickname,
    required this.avatarUrl,
    required this.email,
    required this.vehicleVins,
    required this.isMember,
    required this.memberLevel,
  });

  // 空参构造函数
  UserInfo.empty()
    : nickname = '',
      avatarUrl = '',
      email = '',
      vehicleVins = [],
      isMember = false,
      memberLevel = 0;
}
